import Loadable from 'react-loadable'
import { Spin } from 'antd';
function withloadable(component){
    return Loadable({
        loader:component,
        loading:()=><Spin/>
    })
}
export default withloadable